package com.mql.onlinechatsystem.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 马庆林
 * @since 2023-03-08
 */
@TableName("tb_messagerelation")
@ApiModel(value = "TbMessagerelation对象", description = "")
public class TbMessagerelation implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private String messageid;

    private String fromuserid;

    private String touserid;

    private LocalDateTime createtime;

    private Integer isdelete;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMessageid() {
        return messageid;
    }

    public void setMessageid(String messageid) {
        this.messageid = messageid;
    }

    public String getFromuserid() {
        return fromuserid;
    }

    public void setFromuserid(String fromuserid) {
        this.fromuserid = fromuserid;
    }

    public String getTouserid() {
        return touserid;
    }

    public void setTouserid(String touserid) {
        this.touserid = touserid;
    }

    public LocalDateTime getCreatetime() {
        return createtime;
    }

    public void setCreatetime(LocalDateTime createtime) {
        this.createtime = createtime;
    }

    public Integer getIsdelete() {
        return isdelete;
    }

    public void setIsdelete(Integer isdelete) {
        this.isdelete = isdelete;
    }

    @Override
    public String toString() {
        return "TbMessagerelation{" +
            "id = " + id +
            ", messageid = " + messageid +
            ", fromuserid = " + fromuserid +
            ", touserid = " + touserid +
            ", createtime = " + createtime +
            ", isdelete = " + isdelete +
        "}";
    }
}
